package com.zbkj.crmeb.store.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 功能描述: 满额包邮
 * @Author: wangzh
 * @Date: 2022/12/30 10:16
 */
@Data
@Accessors(chain = true)
@ApiModel("ChannelFreeShippingActivityRequest对象")
public class ChannelFreeShippingActivityRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "活动时间类型 0：长期有效 1：活动时间段")
    private Integer activityTimeType;

    @ApiModelProperty(value = "活动开始时间")
    private String activityStartTime;

    @ApiModelProperty(value = "活动结束时间")
    private String activityEndTime;

    @ApiModelProperty(value = "活动商品id 空：全部商品", example = "[1,2]")
    private List<Integer> productIds;

    @ApiModelProperty(value = "优惠条件 0：满元 1：满件")
    private Integer preferentialType;

    @ApiModelProperty(value = "优惠门槛")
    private Integer preferentialCondition;

    @ApiModelProperty(value = "是否包邮")
    private Boolean freeShipping;

    @ApiModelProperty(value = "是否设置不包邮地区")
    private Boolean notFreeAreaSetting;

    @ApiModelProperty(value = "不包邮地区 空:不设置不包邮", example = "[1,2,3]")
    private List<Integer> notFreeArea;
}
